package com.yaolong.api.modules.opms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yaolong.commons.base2.BaseDomain;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统公告表
 * </p>
 *
 * @author yaolonga
 * @since 2023-02-15
 * @version v1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("opms_notice")
@ApiModel(value="OpmsNotice对象", description="系统公告表")
public class OpmsNotice extends BaseDomain {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "sendId")
    @TableField( "send_id")
    private Long sendId;


    @ApiModelProperty(value = "公告标题")
    @TableField("titile")
    private String titile;

    @ApiModelProperty(value = "公告内容")
    @TableField("content")
    private String content;

    //    summary
    @ApiModelProperty(value = "摘要")
    @TableField("abstract")
    private String summary;

    @ApiModelProperty(value = "公告类型（系统公告、其他公告）")
    @TableField("type")
    private String type;


}
